public abstract class IgoChessman {
    protected String color;

    public abstract void display();

    protected IgoChessman(String color) {
        this.color = color;
    }

    public String getColor() {
        return color;
    }
}  
  